// 封装一个获取当前为 早上|上午|下午|晚上 的函数
export const getTime = () => {
  let message: string = "";
  let hours = new Date().getHours();
  if (hours <= 9) {
    message = "早上";
  } else if (hours <= 14) {
    message = "上午";
  } else if (hours <= 19) {
    message = "下午";
  } else {
    message = "晚上";
  }
  return message;
};
